package com.inibb.app.vo;

import java.util.ArrayList;
import java.util.Collection;

import com.inibb.app.vo.security.AuthorityDTO;




public class SubModuleDTO {
	private String name;
	
	private Collection<AuthorityDTO> auths= new ArrayList<AuthorityDTO>();

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Collection<AuthorityDTO> getAuths() {
		return auths;
	}

	public void setAuths(Collection<AuthorityDTO> auths) {
		this.auths = auths;
	}
	public void addAuthority(AuthorityDTO auth){
		this.getAuths().add(auth);
	}
}

